package com.hkyp.ss.course.provider.repository.baseRepository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * @Description:
 * @Author:
 * @CreateDate: 2018/7/18 14:26
 */
@NoRepositoryBean  // 一般用作父类的repository，有这个注解，spring不会去实例化该repository
public interface BaseRepository<T, PK extends Serializable> extends JpaRepository<T, PK>,
        JpaSpecificationExecutor<T> {
}
